package cn.jserv.ddns.data;

import com.huawei.hilink.event.AbstractEvent;

/**
 * @author 蒋登伟
 * @create 2022-03-16 15:42
 */
public class IpChangeEvent extends AbstractEvent {

    public static final String TYPE = IpChangeEvent.class.getSimpleName();

    public IpChangeEvent(String topic, String payload) {
        super(topic, payload, null);
    }

    @Override
    public String getType() {
        return TYPE;
    }

    @Override
    public String toString() {
        return this.getType() + ", topic: " + this.getTopic();
    }
}
